broadcaster
broadcaster provides a wrapper for any Stream and Sink implementing the mpsc pattern to enable broadcasting items. This means that any item sent will be received by every receiver, not just the first to check (like most mpmc streams). As an example:
use BroadcastChannel;
let mut chan = new;
chan.send.await?;
assert_eq!;
let mut chan2 = chan.clone;
chan2.send.await?;
assert_eq!;
assert_eq!;